package Service;

import Utils.DbUtil;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

public class UpdateService {
    public List<String> getColumnName(String tableName, HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException, SQLException {
        List<String> columnCount = DbUtil.getColumnCount(req, tableName);
        return columnCount;
    }
}
